package buildcode.language.es.type;

import java.util.ArrayList;
import java.util.List;

import buildcode.database.DataBaseTable;
import buildcode.language.es.field.EsEnumField;

public class EsEnum extends EsType<EsEnumField, DataBaseTable> {

    private List<EsEnumField> enumFields = new ArrayList<EsEnumField>();

    public EsEnum(String name, String packagePath) {
        super(name, packagePath);
    }

    public List<EsEnumField> getEnumFields() {
        return enumFields;
    }

    public void setEnumFields(List<EsEnumField> enumFields) {
        this.enumFields = enumFields;
    }

    public void addField(EsEnumField field) {
        enumFields.add(field);
    }

}
